Reset the Platform
About this task
Reset the platform to reload system parameters from the most recently saved configuration file.
Procedure
Example
Reset the switch with a configured delay of 45 minutes:
Switch:1>enable Switch:1#reset -in 45 Are you sure you want to perform a delayed reset? (y/n) ? y
Reset the switch with a configured delay of 3 hours and 44 minutes:
Switch:1>enable Switch:1#reset -in 3:44 Are you sure you want to perform a delayed reset? (y/n) ? y
Reset the switch with a configured delay of 7 days, 1 hour, and 7 minutes:
Switch:1>enable Switch:1#reset -in 7:01:07 Are you sure you want to perform a delayed reset? (y/n) ? y
Cancel the reset:
Switch:1#reset -cancel Scheduled reset successfully canceled!
View the remaining time before the switch reboots:
Switch:1#show software ================================================================================== software releases in /intflash/release/ ================================================================================== Switch.8.6.0.0.GA (Backup Release) (Signed Release) Switch.9.0.0.0.GA (Primary Release) (Signed Release) ---------------------------------------------------------------------------------- Auto Commit : enabled Commit Timeout : 10 minutes Reset in : 3 days, 2 hours, 1 minute and 57 seconds
Variable Definitions
The following table defines parameters for the reset command.
Variable |
Value |
---|---|
-cancel |
Cancels the delayed switch reset. |
WORD<1-7> |
Specifies the time interval, in days, hours, or minutes to wait before the switch resets. After the timer expires, the device restarts from the saved configuration file. The syntax for the timer is [d: ] [hh: ]mm where days and hours are optional. If you specify a single number, like 45, the switch interprets that as minutes. If you specify two numbers separated by a colon (3:15), the switch interprets that as hours and minutes. If you specify three numbers separated by colons (4:3:15), the switch interprets that as days, hours, and minutes. Values for hours and minutes must use two digits. For example, for 7 hours and 1 minute, use 07:01 and not 7:1. You can specify a value of 00 for hours or minutes; 2:00:00 indicates a reset in 2 days. The maximum value is 9:23:59 (9 days, 23 hours, and 59 minutes). |
-y |
Suppresses the confirmation message before the switch resets. If you omit this parameter, you must confirm the action before the switch resets. |